package com.onedec.menu.dao;

import com.onedec.menu.entity.OnedecDeptPermission;
import com.onedec.menu.entity.OnedecDeptPermissionExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OnedecDeptPermissionDao {
    long countByExample(OnedecDeptPermissionExample example);

    int deleteByExample(OnedecDeptPermissionExample example);

    int deleteByPrimaryKey(Integer deptPermissionId);

    int insert(OnedecDeptPermission record);

    int insertSelective(OnedecDeptPermission record);

    List<OnedecDeptPermission> selectByExample(OnedecDeptPermissionExample example);

    OnedecDeptPermission selectByPrimaryKey(Integer deptPermissionId);

    int updateByExampleSelective(@Param("record") OnedecDeptPermission record, @Param("example") OnedecDeptPermissionExample example);

    int updateByExample(@Param("record") OnedecDeptPermission record, @Param("example") OnedecDeptPermissionExample example);

    int updateByPrimaryKeySelective(OnedecDeptPermission record);

    int updateByPrimaryKey(OnedecDeptPermission record);
}